package cn.cloud9.kfc.app;

import cn.cloud9.kfc.po.BasicInfo;

import java.net.HttpCookie;
import java.util.List;
import static cn.cloud9.kfc.util.KfcUtil.*;

/**
 * @author OnCloud9
 * @description
 * @project RegionReptile-Remaster
 * @date 2022年07月09日 上午 11:51
 */
public class KfcMainApplication {
    public static void main(String[] args) {
        final BasicInfo basicInfo = getBasicInfo();
        final List<String> cityNames = basicInfo.getCityNames();
        final List<HttpCookie> cookies = basicInfo.getCookies();
        cityNames.forEach(cityName -> getPagingData(cityName, 1, null, cookies));
    }
}
